#include "StdAfx.h"
#include "ProcParamDefString.h"
#include "ImageProcFn.h"
#include "DummyInvalid.h"

const char * const DummyInvalid::FunctionNameDummyInvalid = "FnNotValidated";

DummyInvalid::DummyInvalid(void) 
{
	_fnApi.SetFunctionName(DummyInvalid::FunctionNameDummyInvalid);
	_fnApi.SetFunctionDescription("this is a dummy function with one i/p param and one o/p param");
									//inputs
	_fnApi.AddParamDef(new ProcParamDefString(0, "brightness", "sets alpha string for image, strlen() min=0, max=100", IPluginICProcStepsParamDef::input, 0, 100 ));
									//outputs
	_fnApi.AddParamDef(new ProcParamDefString(0, IPluginICProcStepsParamAttribOutputNameResult, "strlen() 0 is success; strlen() 1 is exception", IPluginICProcStepsParamDef::output, 0, 1));

	//_fnApi.Validate();
}


DummyInvalid::~DummyInvalid(void)
{
}


bool	DummyInvalid::Process(ImageProcStep *step, bool DebugMode)
{
	return true;
}





